package com.rerun.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * The type Dictionaries category.
 */
@TableName("dictionaries_category")
public class DictionariesCategory extends Model<DictionariesCategory> {

	private static final long serialVersionUID = 7595627210613164962L;
	private long categoryId;
	private String categoryNameChs;
	private String categoryNameEn;
	private String remark;

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * Gets category id.
	 *
	 * @return the category id
	 */
	public long getCategoryId() {
		return categoryId;
	}

	/**
	 * Sets category id.
	 *
	 * @param categoryId
	 *            the category id
	 */
	public void setCategoryId(long categoryId) {
		this.categoryId = categoryId;
	}

	/**
	 * Gets category name chs.
	 *
	 * @return the category name chs
	 */
	public String getCategoryNameChs() {
		return categoryNameChs;
	}

	/**
	 * Sets category name chs.
	 *
	 * @param categoryNameChs
	 *            the category name chs
	 */
	public void setCategoryNameChs(String categoryNameChs) {
		this.categoryNameChs = categoryNameChs;
	}

	/**
	 * Gets category name en.
	 *
	 * @return the category name en
	 */
	public String getCategoryNameEn() {
		return categoryNameEn;
	}

	/**
	 * Sets category name en.
	 *
	 * @param categoryNameEn
	 *            the category name en
	 */
	public void setCategoryNameEn(String categoryNameEn) {
		this.categoryNameEn = categoryNameEn;
	}

	
	@Override
	protected Serializable pkVal() {
		return this.categoryId;
	}

	@Override
	public String toString() {
		return "{" + "categoryId:" + categoryId + ", categoryNameChs:" + categoryNameChs + ", categoryNameEn:"
				+ categoryNameEn + "}";
	}
}
